from django.urls import path
from . import views

app_name = 'tools'

urlpatterns = [
    path('', views.tool_list, name='tool_list'),
    path('<int:pk>/', views.tool_detail, name='tool_detail'),
    path('create/', views.tool_create, name='tool_create'),
    path('<int:pk>/update/', views.tool_update, name='tool_update'),
    path('<int:pk>/delete/', views.tool_delete, name='tool_delete'),
    path('test-email/', views.test_email, name='test_email'),  # 添加测试邮件的路由
]